<div class="page">
	<div class="pageContent">
		<form enctype="multipart/form-data" method="post" action="__URL__/insert/navTabId/__MODULE__/callbackType/closeCurrent"
			class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
			<input type="hidden" name="id" value="0">
			<div class="dleft">
				<div class="pageFormContent">
					<div class="baseh1">
						<h1>&nbsp;&nbsp;&nbsp;&nbsp;基本信息</h1>
					</div>
					<div class="unit">
						<label>序号:</label> 
						<input name="id" type="text" value="{$maxid}" />
					</div>					
					<div class="unit">
						<label>车牌号:</label> 
						<input name="carno" class="required space" type="text" />
					</div>
					<div class="unit">
						<label style="margin-right: -10px;">所属承运商:</label> 
						<select name="carrier" id="carrier" class="required combox">
						<option value="" selected>请选择(必填)</option>
						<volist name="carrier" id="vo">
						<option value="{$vo.carriername}">{$vo.carriername}</option>
						</volist>
					</select>
					</div>
					<div class="unit">
						<label>车辆类型:</label> 
						<input type="text" name="cartype"/>
					</div>
					<div class="unit">
						<label>购买保险时间:</label> 
						<input name="buyinsuretime" class="date" type="text" /><a class="inputDateButton" href="javascript:;">选择</a>
					</div>
					<div class="unit">
						<label>发动机型号:</label> 
						<input type="text" name="engineno" />
					</div>
					<div class="unit">
						<label>年审时间:</label> 
						<input name="audittime" type="text"	class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</div>
					<div class="unit">
						<label>厂牌型号:</label> 
						<input name="factorymodel" type="text" />
					</div>
					<div class="unit">
						<label>购买日期:</label> 
						<input type="text" name="buydate" class="date" /><a class="inputDateButton" href="javascript:;">选择</a>
					</div>
					<div class="unit">
						<label>驾驶员：</label> <input name="driver" type="text"	/>
					</div>
					<div class="unit">
						<label style="margin-right: -10px;">状态:</label> 
						<select name="status" id="statu" class="required combox">
							<option value="" >-请选择-</option>
							<option value="0">不可用</option>
							<option value="1" selected>可用</option>
						</select><font color="red">*</font>
					</div>
					<div class="unit">
						<label>备注:</label>
						<textarea name="notes" cols="24" rows="1"></textarea>
					</div>
				</div>
			</div>
			<div class="dright">
				<div class="pageFormContent">
					<div class="baseh1">
						<h1>&nbsp;&nbsp;&nbsp;&nbsp;图片</h1>
					</div>
					<div class="unit">
						<label>请选择图片:</label> <input type="file" name="carimage"
							src="{$vo.carimage}" style="margin-left: -50px;height: 21px;" />
					</div>
					<div class="unit" style="height: 293px; max-height: 300px;">
						<img id="carimg" width="400" height="278"
							src="__PUBLIC__/Uploads/CarImage/default.jpg" />
					</div>
				</div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive">
							<div class="buttonContent">
								<button type="submit" onclick="getChange()">添加</button>
							</div>
						</div></li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</div>